package com.xc.mapper;

import com.xc.dto.ResultDTO;
import com.xc.dto.RoleDTO;
import com.xc.dto.RoleNavDTO;
import com.xc.entity.RoleEntity;
import com.xc.entity.RoleNavEntity;
import com.xc.entity.RoleNavManyEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleNavMapper extends BaseMapper<RoleNavDTO, RoleNavEntity> {
    int field(RoleNavEntity roleNavEntity);

    Integer addMany(RoleNavEntity roleNavEntity);

    Integer deleteByRoleId(List<Integer> ids);

    Integer addList(List<RoleNavManyEntity> list);
}
